In addition to the above, make sure you're still hydrating with water. A lot of times a headache is due to being not sufficiently hydrated, and sweet/sugary drinks and sodas DO hydrate you--like, if there's nothing else to drink, it's better to drink a soda than drink nothing--but getting enough water goes a long way.
1 month